package com.achievo.know.pojo;

import java.util.Date;

public class SearchResult {

	private Long id;
	private String title;
	private String desc;
	private Date publishTime;
	private String publishUser;
	private int browserNum;
	private int downSum;
	private boolean isFile;
	
	public SearchResult(){
		super();
	}
	
	public SearchResult(String title, String desc, Date publishTime,
			String publishUser, int browserNum, int downSum, boolean isFile) {
		super();
		this.title = title;
		this.desc = desc;
		this.publishTime = publishTime;
		this.publishUser = publishUser;
		this.browserNum = browserNum;
		this.downSum = downSum;
		this.isFile = isFile;
	}
	
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	public Date getPublishTime() {
		return publishTime;
	}
	public void setPublishTime(Date publishTime) {
		this.publishTime = publishTime;
	}
	public String getPublishUser() {
		return publishUser;
	}
	public void setPublishUser(String publishUser) {
		this.publishUser = publishUser;
	}
	public int getBrowserNum() {
		return browserNum;
	}
	public void setBrowserNum(int browserNum) {
		this.browserNum = browserNum;
	}
	public int getDownSum() {
		return downSum;
	}
	public void setDownSum(int downSum) {
		this.downSum = downSum;
	}
	public boolean isFile() {
		return isFile;
	}
	public void setFile(boolean isFile) {
		this.isFile = isFile;
	}
	
	
}
